import { Component, OnInit } from '@angular/core';
import { ActivatedRoute } from '@angular/router';
@Component({
  selector: 'app-group-stat',
  templateUrl: './group-stat.component.html',
  styleUrls: ['./group-stat.component.css']
})
export class GroupStatComponent implements OnInit {
  id:string = '';
  tempretureDate:any;
  pressDate:any;
  constructor(private activeRoute:ActivatedRoute) { }

  ngOnInit() {
    this.activeRoute.params.subscribe(
      params=> {
        this.id = params['groupId'];
      }
    );
  }

}
